projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d524f86
)
tools/misc/xenpm: fix get-cpu-topology
author
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 13 Jul 2010 18:34:48 +0000
(19:34 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Tue, 13 Jul 2010 18:34:48 +0000
(19:34 +0100)
fix get-cpu-topology
Signed-off-by: Wei Gang <gang.wei@intel.com>
tools/misc/xenpm.c
patch
|
blob
|
history
diff --git
a/tools/misc/xenpm.c
b/tools/misc/xenpm.c
index 679b1f39d32551e0a8e83a46c631054f0d06c5db..46ccb34974eaa3225e9bc9eeaa45a6c4f0256f98 100644
(file)
--- a/
tools/misc/xenpm.c
+++ b/
tools/misc/xenpm.c
@@
-858,7
+858,7
@@
void cpu_topology_func(int argc, char *argv[])
info.max_cpu_index = MAX_NR_CPU-1;
printf("CPU\tcore\tsocket\tnode\n");
- for ( i = 0; i < info.max_cpu_index; i++ )
+ for ( i = 0; i <
=
info.max_cpu_index; i++ )
{
if ( cpu_to_core[i] == INVALID_TOPOLOGY_ID )
continue;